import React from 'react'
import { SearchBarWrapper } from './styledSearchBar'
import Icon from '@/components/icon/Icon'

export default function SearchBar({
    text,
    width,
    height
}) {
    return (
        <SearchBarWrapper
        width = {width}
        height = {height}
        >
            <div className='search-input'>
            <Icon
            name='search2Line'
            ></Icon>
            <span>{text}</span>
            </div>
        </SearchBarWrapper>
    )
}
